import ProtoTable, { ProtoBase } from "../../core/base/ProtoTable";
import XlsxDataManager from "../../core/xlsx/XlsxDataManager";

%enum%

/**
* %SheetName%
**/

export default class %ClassProtoName% extends ProtoTable<%ClassName%>{
	// 单例
	public static getInstance(): %ClassProtoName% {
			if(this.Self == null) {
					this.Self = new %ClassProtoName%();
			}
			return this.Self;
	}

	private static Self: %ClassProtoName%;


	public constructor() {
		super();
		this.initWithData(XlsxDataManager.instance().get(%ClassName%.CLASS_NAME), %ClassName%);
	}


}


export class %ClassName% extends ProtoBase {

	static CLASS_NAME:string = '%dataName%'

	%function%


}